package com.gsit.ocrbatch.utils;

public class FileConstant {
	
	/*public final static String FILE_BASE_PATH = "C://wamp/www/resouces";
	public final static String FILE_IN_PATH = FILE_BASE_PATH+"/in";
	public final static String FILE_OUT_PATH = FILE_BASE_PATH+"/out";
	public final static String FILE_ERROR_PATH = FILE_BASE_PATH+"/error";
	public final static String FILE_PROCESSED_PATH = FILE_BASE_PATH+"/processed";*/
	public final static String FILE_PATH_SEPARATOR = "/";
	
	public enum Folder{
		IN("in"),
		OUT("out"),
		ERROR("error"),
		PROCESSED("processed");
		
		private String path;
		
		private Folder(String path){
			this.path = path;
		}
		
		public String getPath(){
			return path;
		}
		
	}
	
	public enum FileFlow{
		PROCESS(Folder.IN,Folder.PROCESSED),
		OK(Folder.PROCESSED,Folder.OUT),
		ERROR(Folder.PROCESSED,Folder.ERROR);
		
		private Folder inFolder;
		private Folder outFolder;
		private FileFlow(Folder inFolder, Folder outFolder) {
			this.inFolder = inFolder;
			this.outFolder = outFolder;
		}
		public Folder getInFolder() {
			return inFolder;
		}
		public Folder getOutFolder() {
			return outFolder;
		}
		
		
		
	}
	

}
